<?php

namespace App\Http\Controllers\Portal;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;

class IndexController extends Controller
{
    public function index(){
        $res=['title'=>'首页'];
        $res['user']=Auth::user();
        return view('portal.index',['res'=>$res]);
    }
}
